package cn.nnxy.zentao.mapper;


import cn.nnxy.zentao.domain.List1User;
import cn.nnxy.zentao.domain.Log;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository

public interface List1Mapper {
    // UserMapper 对应一个xml文件，UserMapper.xml

    List<List1User> queryUserList();
    List<List1User> queryUserList1();
    List<List1User> queryUserList2();
    List<List1User> queryUserList3();
    List<List1User> queryUserList4();
    List<List1User> queryUserList5(String str);
    List<List1User> queryUserList6();

    void queryDelList(Integer id);

    List1User queryUpdateList(Integer id);

    void queryUpdateList2(Integer id, Date date, String type,
                          String p, String upcoming_name, Date begin,
                          Date end, String condition);

    void queryAddList(Date date, String type,
                      String p, String upcoming_name, Date begin,
                      Date end, String condition);
    void queryRegUser(String username,
                      String password, String email, String name,
                      String telephone, String sex, Date birthday);

    void queryLog(String name,Date datee, String s);

    Log queryMax();
    List1User DelName(Integer id);


    List<Log> queryLogList();//查询所有日志
}
